<?php
$revision = $item;
$page = getPageById($revision['pageid']);
?>
<item>
	<title><?php echo $page['name'] ?></title>
	<description><![CDATA[<p><strong>Revised by <?php echo $revision['author'] ?> (<?php echo ipLink($revision['ip']) ?>). now it's:</strong></p>
  <?php echo parselinks(textilize($revision['body'])) ?>]]></description>
	<pubDate><?php echo date("r",$revision['time']) ?></pubDate>
	<dc:creator><?php echo $revision['author'] ?></dc:creator>
	<link><?php echo getURL('show',$page['name']) ?></link>
	<?php
	$tags = split(" ",$page['tags']);
	for($j=0; $j<count($tags); $j++) {
	  $tag = $tags[$j];
	  echo "<category>$tag</category>\n";
	}
	?>
</item>
